package com.chencq.entity;

public class User {
	/**
	 * 默认构造器
	 */
	public User() {
	}

	/**
	 * 用户id
	 */
	private Integer userId;
	/**
	 * 姓名
	 */
	private String name;
	/**
	 * 密码
	 */
	private String password;
	/**
	 * 邮箱
	 */
	private String email;

	/**
	 * 获取用户id
	 * @return userId
	 */
	public Integer getUserId() {
		return userId;
	}
	/**
	 * 设置用户id
	 * @param userId
	 */
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	/**
	 * 获取用户名字
	 * @return name
	 */
	public String getName() {
		return name;
	}
	/**
	 * 设置用户名字
	 * @param name
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * 用户密码
	 * @return password
	 */
	public String getPassword() {
		return password;
	}
	/**
	 * 设置用户密码
	 * @param password
	 */
	public void setPassword(String password) {
		this.password = password;
	}
	/**
	 * 用户邮箱
	 * @return email
	 */
	public String getEmail() {
		return email;
	}
	/**
	 * 设置用户邮箱
	 * @param email
	 */
	public void setEmail(String email) {
		this.email = email;
	}
	@Override
	public String toString() {
		return "User [email=" + email + ", name=" + name + ", password=" + password + ", userId=" + userId + "]";
	}
}
